package org.ohuyo.libra.server.test.msg;

/**
 * 
 * @author rabbit
 * 
 */
public class LoginInfo {

	public final static String MAIN_APP_CODE = "libraMain";

	public final static String LOGIN_ADDR = "loginAddr";

	public final static String SLAVE_APP_CODE_A = "libraSlaveA";

	public final static String SLAVE_APP_CODE_B = "libraSlaveB";

	public final static String CUST_ID_TYPE = "libraCustIdType";

	public final static String CUST_ID = "libraCustId";

	public final static String APP_CONTEXT_ROOT = "I am appContextRoot.";

	public final static String ATTACHMENT = "I am attachment.";

	public static final LoginInfo INFO_A = new LoginInfo();

	public static final LoginInfo INFO_B = new LoginInfo();

	static {
		// A
		INFO_A.custId = CUST_ID + "A";
		INFO_A.custIdType = CUST_ID_TYPE + "A";
		INFO_A.attachment = ATTACHMENT + "A";
		INFO_A.appContextRoot = APP_CONTEXT_ROOT + "A";
		INFO_A.loginAddr = LOGIN_ADDR + "A";

		// B
		INFO_B.custId = CUST_ID + "B";
		INFO_B.custIdType = CUST_ID_TYPE + "B";
		INFO_B.attachment = ATTACHMENT + "B";
		INFO_B.appContextRoot = APP_CONTEXT_ROOT + "B";
		INFO_B.loginAddr = LOGIN_ADDR + "B";
	}

	/**
	 * 
	 */
	private String custId;

	/**
	 * 
	 */
	private String custIdType;

	/**
	 * 
	 */
	private String attachment;

	/**
	 * 
	 */
	private String appContextRoot;

	/**
	 * 
	 */
	private String loginAddr;

	public String getCustId() {
		return custId;
	}

	public void setCustId(String custId) {
		this.custId = custId;
	}

	public String getCustIdType() {
		return custIdType;
	}

	public void setCustIdType(String custIdType) {
		this.custIdType = custIdType;
	}

	public String getAttachment() {
		return attachment;
	}

	public void setAttachment(String attachment) {
		this.attachment = attachment;
	}

	public String getAppContextRoot() {
		return appContextRoot;
	}

	public void setAppContextRoot(String appContextRoot) {
		this.appContextRoot = appContextRoot;
	}

	public String getLoginAddr() {
		return loginAddr;
	}

	public void setLoginAddr(String loginAddr) {
		this.loginAddr = loginAddr;
	}
}
